# coding=utf-8
import codecs
base_file = 'E:/basefile.txt'
with codecs.open(base_file, 'r+', 'utf-8') as f:
    result = []
    for line in f:
        line = line.strip('\n')
        result.append(line.split('\x01val_'))
    print result
    f.close()


# f = open('E:/basefile.txt','r+')
# result = list()
# for line in f:
    # line = line.strip('\n')
    # result.append(line.split('\x01val_'))
# print result
# f.close()
